﻿using System;
using System.Configuration;

using SBPweb.Communication.Shared.Library.Conversations;

namespace SBPweb.Communication.Client.Library.Xmpp.Conversations
{

    public partial class ConversationManagerConfigurationElement : ConfigurationElement, IConversationManagerConfiguration
    {

        #region Property accessors

        [ConfigurationProperty("getPublicConferencesWhenConnected", IsRequired = false, DefaultValue = true)]
        public bool GetPublicConferencesWhenConnected
        {
            get
            {
                return Convert.ToBoolean(this["getPublicConferencesWhenConnected"]);
            }
        }
        
        #endregion

    }

}